package com.gary.cmakejniapplication;

public class JniModule {

    static {
        System.loadLibrary("cmakejniapplication");
    }

    // string的set get
    public native void setString(String str);
    public native String getString();
    // int的set get
    public native void setInt(int value);
    public native int getInt();
    // float的set get
    public native void setFloat(float value);
    public native float getFloat();
    //bool的set get
    public native void setBool(boolean value);
    public native boolean getBool();
    // Array的set get
    public static native void nativeTouchesMove(final int[] pIDs, final float[] pXs);
    public static native int[] getNativeTouchesMove();
    //
    public static native void getIntArray(int[] array);

    // test interface:C++ call Java
    public native void GetDiskFilesDirFromJava();

    public native void SetstrFromCppToJava();
}
